package com.zyb.microservice.service2.service;

import com.zyb.microservice.api.ConsumerService;
import com.zyb.microservice.api.ProviderService;
import org.apache.dubbo.config.annotation.Reference;
import org.apache.dubbo.config.annotation.Service;

@Service
public class ProviderServiceImpl implements ProviderService {

    @Reference
    ConsumerService consumerService;
    public String service() {

        return consumerService.service()+"Provider invoke";
    }
}
